package com.news.dao;

import java.util.List;

import com.news.entity.User;

/**
 * 用户Dao
 */
public interface UserDao {

	int insertUser(User user);
	int updateUser(User user);
	int deleteUser(int id);
	int deleteUserBatch(String[] ids);
	int deleteUserBatch2(String[] ids);
	User selectOneUser(int id);
	List<User> selectUser(int offset, int pageSize, String acct);
	int selectCount(String acct);
	User login(String acct, String pwd);
}
